package test1230pm;

public class Gy {
    String name;
    Bm bm;

    public Gy() {
    }

    public Gy(String name) {
        this.name = name;
    }

    public Gy(Bm bm, String name) {
        this.bm = bm;
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Bm getBm() {
        return bm;
    }

    public void setBm(Bm bm) {
        this.bm = bm;
    }

    @Override
    public String toString() {
        return "Gy{" +
                "name='" + name + '\'' +
                ", bm=" + bm +
                '}';
    }
}
